package com.brspace.qualitycontrol.repository;


import com.brspace.qualitycontrol.entity.wps.entity.WFileVersionT;
import com.brspace.qualitycontrol.utils.BaseRepository;

import java.util.List;

public interface FileVersionRepository extends BaseRepository<WFileVersionT, Long> {

    List<WFileVersionT> findByFileIdOrderByVersionDesc(String fileId);

    WFileVersionT findByFileIdAndVersion(String fileId, int version);

}
